Skip to content

fix: localize Extra info chrome and Assets inspector - #77

Merged
IAnMove merged 1 commit into
mainfrom
fix/i18n-extra-info-inspector
Sep 2, 2026
Merged

fix: localize Extra info chrome and Assets inspector#77
IAnMove merged 1 commit into
mainfrom
fix/i18n-extra-info-inspector

Conversation

@IAnMove

@IAnMove IAnMove commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Resultado

Follow-up acotado de Extra info. No traduce el resto de la app ni el cuerpo de VideoExtraInfoDialog.

  • Chrome de Extra info (VideoExtraInfoDialog título, MediaFeedItem, VideoInfoBar) usa activity.extraInfo
  • Inspector de Assets (AssetExtraInfoDialog + error de carga) pasa a claves activity.inspector.*
  • Cerrar reutiliza common.actions.close
  • Listado y toolbar de Assets siguen en español hardcodeado (placeholder, Cargar más, filtros de tipo)
  • Glosario: Workspace; Extra info / Información adicional; Output folder / Carpeta de salida; Uploads / Subidas

Zona migrada

Chrome Extra info + interiores del inspector de Assets.

Deuda que permanece

Etiquetas de campos de VideoExtraInfoDialog, listado de Assets, resto de paneles. No se toca init i18n ni escapeValue.

Verificación local

  • npm run i18n:check
  • npm test (485)
  • lint --max-warnings=0
  • npx tsc -b --pretty false

Pendiente de CI en GitHub.

No se han tocado launchers, WanGP, modelos ni comunicaciones/.


Note

Low Risk
Presentation-only i18n wiring and catalog keys; no API, auth, or data-path changes.

Overview
Continues the UI i18n pilot by routing Extra info labels through activity.extraInfo in MediaFeedItem, VideoInfoBar, and the VideoExtraInfoDialog title (dialog body copy is unchanged).

The Assets extra-info inspector drops hardcoded Spanish/English strings in favor of new activity.inspector.* keys (loading, sections, copy actions, JSON, errors) and common.actions.close for the dismiss control; AssetExtraInfoDialog is reformatted for readability.

check-i18n-catalogs expands pilot file coverage for the video components and forbids the literal "Extra info". Tests assert catalog usage and parity of the new keys in EN/ES.

Reviewed by Cursor Bugbot for commit d60c2bd. Configure here.

Wire leftover Extra info labels to activity.extraInfo and move the
Assets Extra info inspector internals into activity.inspector keys.
@IAnMove

IAnMove commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@cursor review

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

PR Review — Loreframe Studio

Risk: low
Scope: 9 file(s); +152/-7; React UI

Automated review from scripts/analyze_pr.py. This is a heuristic pass (no LLM) so humans still own the merge decision.

Findings

  • low — UI changed — rebuild before merge
    Run cd ui && npm run build (CI already does this). Pinokio Update rebuilds for end users; keep ui/dist untracked.

Changed files

  • modified: ui/scripts/check-i18n-catalogs.mjs, ui/src/components/MainContent/MediaFeedItem.tsx, ui/src/components/MainContent/VideoExtraInfoDialog.tsx, ui/src/components/MainContent/VideoInfoBar.tsx, ui/src/features/assets/AssetsPanel.tsx, ui/src/i18n/locales/en/activity.json, ui/src/i18n/locales/es/activity.json, ui/tests/assetsCatalog.test.mjs, ui/tests/i18nFoundation.test.tsx

CONTRIBUTING checklist

  • python scripts/verify_clean_repo.py
  • python -m compileall -q app/services app/launch.py scripts
  • cd ui && npm run build if the UI changed
  • No weights, CivitAI sidecars, or generated guides
  • Stays local-first (no required accounts / telemetry)

Posted by the repo PR review workflow. Re-runs on each push to the PR.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit d60c2bd. Configure here.

@IAnMove
IAnMove merged commit 2718f53 into main Sep 2, 2026
5 checks passed
@IAnMove
IAnMove deleted the fix/i18n-extra-info-inspector branch September 5, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant